Skip to content

Nix Flake Cleanup#272

Open
Lakshay983 wants to merge 12 commits into
mainfrom
nix_esp
Open

Nix Flake Cleanup#272
Lakshay983 wants to merge 12 commits into
mainfrom
nix_esp

Conversation

@Lakshay983
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the development environment by adding arduino-cli, automating ESP32 core installation, and silencing pip version checks. Feedback was provided to include the necessary Espressif board manager URL to prevent installation failures and to optimize the Python package installation process by only running pip install when requirements.txt is modified.

Comment thread flake.nix Outdated
Comment thread flake.nix Outdated
@Lakshay983
Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot]

This comment was marked as outdated.

@Lakshay983
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the Nix development environment by moving shell hook logic into a dedicated nix-hook.sh script and optimizing Python dependency installation using a sentinel file. It also updates the .gitignore for Arduino-cli files and increments the license copyright year. Review feedback identifies critical issues regarding the use of set -e and exit within a sourced script, which can unintentionally terminate the user's interactive shell session. Additionally, it was noted that chmod +x is unnecessary when sourcing a script.

Comment thread nix-hook.sh
Comment thread nix-hook.sh Outdated
Comment thread flake.nix
Lakshay983 and others added 2 commits May 23, 2026 12:40
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant